{template 'common/header'}
<!-- 展示图 -->
<div class="lunbo">{template 'common/slide'}</div>
<link href="{$_W['siteroot']}app/themes/bm_sty01/css/sty.css" rel="stylesheet">
<link href="{$_W['siteroot']}app/themes/bm_sty01/css/home.css" rel="stylesheet">
<link href="{$_W['siteroot']}app/themes/bm_sty01/css/bm.css" rel="stylesheet">

<style>
	.carousel-indicators{
		display: none;
	}
	.carousel-caption{
		padding: 0;
	}
		
</style>
<?php
    $f = $_W['styles']['firstid'];
    $s = $_W['styles']['secondid'];
    $t = $_W['styles']['threeid'];
?>

<!-- 第一栏 -->
<div class="out-wrapper">
	<div class="in-wrapper">
		<div class="bmtitle">{$_W['styles']['first']}</div>
		<img class="bimg" src="{$_W['siteroot']}app/themes/bm_sty01/css/desc.png" alt="">
		<div class="bmeng">{$_W['styles']['firste']}</div>
	</div>
	<div class="x-bd x-fw x-row">
	
		{data module="site" func="site_category" parentid="$f" limit="6"}

		<div class="x-cell x-a-4">
			<a class="x-cell-a" href="{$row['linkurl']}">
				<div class="x-pic">
					{if !empty($row['icon'])}
					<img class="x-img" src="{$row['icon']}" >
					{else}					
					<i class="x-icon {$row['css']['icon']['icon']}" style="color: {$row['css']['icon']['color']};"></i>		
					{/if}
				</div>
				<div class="x-txt" href="{$row['linkurl']}">
				{$row['name']}
				</div>
			</a>
		</div>
		{/data}
	</div>
</div>

<!-- 第二栏 -->
<div class="out-wrapper1">
	<div class="in-wrapper">
		<div class="bmtitle">{$_W['styles']['second']}</div>
		<img class="bimg" src="{$_W['siteroot']}app/themes/bm_sty01/css/desc.png" alt="">
		<div class="bmeng">{$_W['styles']['seconde']}</div>
	</div>
	<div class="x-bd x-fw x-row">
		{data module="site" func="site_category" parentid="$s" limit="6"}
		<div class="x-cell x-a-4">
			<a class="x-cell-a" href="{$row['linkurl']}">
				<div class="x-pic">
					{if !empty($row['icon'])}
					<img class="x-img" src="{$row['icon']}" >
					{else}					
					<i class="x-icon {$row['css']['icon']['icon']}" style="color: {$row['css']['icon']['color']};"></i>		
					{/if}
				</div>
				<div class="x-txt" href="{$row['linkurl']}">
				{$row['name']}
				</div>
			</a>
		</div>
		{/data}
	</div>
</div>

<!-- 第三栏 -->
<div class="out-wrapper2">
	<div class="in-wrapper">
		<div class="bmtitle">{$_W['styles']['three']}</div>
		<img class="bimg" src="{$_W['siteroot']}app/themes/bm_sty01/css/desc.png" alt="">
		<div class="ten">{$_W['styles']['threee']}</div>
	</div>
	<div class="x-bd x-fw x-row">
		{data module="site" func="site_category" parentid="$t" limit="6"}
		<div class="x-cell x-a-4">
			<a class="x-cell-a" href="{$row['linkurl']}">
				<div class="x-pic">
					{if !empty($row['icon'])}
					<img class="x-img" src="{$row['icon']}" >
					{else}					
					<i class="x-icon {$row['css']['icon']['icon']}" style="color: {$row['css']['icon']['color']};"></i>		
					{/if}
				</div>
				<div class="x-txt" href="{$row['linkurl']}">
				{$row['name']}
				</div>
			</a>
		</div>
		{/data}
	</div>
</div>